package com.trade.module.database.meta;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * Description:外键元数据类
 *
 * @JDK Version:1.8.0_40
 * Version: V1.0
 * Author: wangchun
 * Date: 2016/3/29 10:05
 */
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class ForeignKeyMetaData {
    private String pkTable;
    private String pkColumn;
    private String fkTable;
    private String fkColumn;
    private String fkName;

    @Override
    public String toString() {
        return "ForeignKeyMetaData{" +
                "pkTable='" + pkTable + '\'' +
                ", pkColumn='" + pkColumn + '\'' +
                ", fkTable='" + fkTable + '\'' +
                ", fkColumn='" + fkColumn + '\'' +
                ", fkName='" + fkName + '\'' +
                '}';
    }
}
